/ Assembly List / LJCNetCommon / AppSettings / GetColorValue

Namespace - LJCNetCommon


Parameters
text - The color string text.

Returns

The integer color value.

Syntax

C#
public Int32 GetColorValue(String text)

Gets an integer color value from a string. (E)

Example

C#
using System.Drawing;
using LJCNetCommon;

var appSettings = new AppSettings("AppName.exe.config");
Color white = appSettings.GetColorValue("255,255,255");

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.